package cn.ronghuanet.org.domain;

import java.math.BigDecimal;
import java.util.Date;
import cn.ronghuanet.base.domain.BaseDomain;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiong
 * @since 2023-06-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private String tel;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date registerTime;
    /**
     * 1=待审核 2=审核通过待激活 3=激活成功 4=驳回
     */
    private Integer state;
    private String address;
    private String logo;
    // 每个店铺都应该有一个管理员
    private Employee admin;

}
